package com.xiaodou.mjf.application.content.repository.impl;

import java.util.List;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import com.xiaodou.mjf.entity.content.Banner;

public class BannerRepositoryImpl {

	@PersistenceContext EntityManager em;
	
	public List<Banner> find(String str1,String str2){
		
		em.createNativeQuery("select * from banner where ", str1).getResultList();
		
		return null;
	}
}
